Created compile task for javascript