removing coffeescript, going with javascript