Fixed all jslint errors, except in core