jshint fixes
remove depreciated WebSession