Worked on functionality for coffeescript file