Templates for auto-generation of Javascript client (browser & Node.js)

Change-Id: I4fa42cb58af4aeb59e682f00507da5fc8d5eac10