moved JS edits from..... JS ;) into CoffeeScript file