fixing js -> coffee