jslint client code