Fix codestyle issues according to jshint and jscs notations