Second Iteration: add javascript handler, formatting from grunt template for file headers