fix small whitespace & style issues (pass jshint default setting)