Added order functionality, added coffeescript in place of previous JS