Added generation javascript mojo

Change-Id: I9f0d5f49a42fae70e9dae4766cd86f2a83953054