some JSLint sugested transformations