Fixed things JShint was complaining about.