Fixed compatibility, jslint