JShint cleaned controllers and core classes