Apply most of jslint hint