Use strict and more (jslint fixes)