fixed jshint warning in profiler.js