coverted files to javascript from coffee script