The thing you describe is called a "throbber". It is necessary that whatever javascript is running completes successfully, and thus under javascript control the throbber gets hidden, When the throbber does not go away, then javascript has crashed (or perhaps you have a browser plugin to keep tight control over javascript scripts). Please discover the method your browser uses to display its internal diagnostic console where the javascript engine will have reported what was wrong with the script t