Adding coffeescript file. I will probably do further work on this file, and then later bring javascript file back up to date