Made the JS translate() function the exact same as miguel's.
Still no breakthrough against the translate bug.