relaxing jshint rule plusplus