add coffescript file and fix js classure syntax