use strict js

and subsequent linting