Make compliant with jshint and most of jslint
Fix after some Chrome updates, Github DOM changes
Prepare for v1.1 release.