Refactor some global drop logic to controller
Fix JavaScript precedences, handwritten, semicolons