jshint fixes
Performance increase, tweaked css