Small optimizations, code refactoring, jshint fixes