Fix JS being served again if translate() is called multiple times