add javascript route