fixed error in finding closing tag
Removed unnecessary parameter
Improved detecting whether the pointer is in a string or not
Remove Javascript inline comments + improved detecting whether the pointer is in a string or not
Fixed coding style
Simulate a complete custom exception handler by redirecting uncaught events.
Remove unnecessary chdir() in the shutdown handler.
Add changelog entry for #2633.
Fixed coding style
Merge pull request #2631 from mjnaderi/develop

Fixed errors in _minify_script_style
Make the changelog entry for #2633 more descriptive.
Merge pull request #2633 from kaiwangchen/simulate_complete_exception_handler

Simulate a complete custom exception handler by redirecting uncaught events
[ci skip] Simplify changelog message for PR #2633