more standards conformance and jslint