Update libraries
jslint + little refactors

now works under Chromium browser / TamperMonkey