Removed stale variables and jslint definitions