Below are the steps if we use Mozilla Firefox :
1. Open Tools, Error Console
2. See the error message and try to find at our code.
3. Try to minimize the quantity of error message to make the program works.
Hope this manner can help you to fix your problems.