make rsiframe.js jshint compliant