Make code valid to jshint and particulary to jscs tools