Select Edit, then Preferences from the Safari menu.
Click Security.
Check Enable JavaScript.
Close the window.
Click Reload.
close