Stripping whitespace to pass jshint