Changes for support in Сhrome

Error installing: Invalid script header.
Error javascript: Cannot call method 'getAttribute' of undefined [VM112:12]