Removed .js ending from generated scripts