WIP: Big push for refactor from CoffeeScript to Javascript.