added javascript template