Fixed jshint complaints (if statements without { } )