Added javascript templates