Core: jslint!
Removed some old compability code