Added .js to end of generated Javascript files.