add javascript translations