fix order translate js

#1332 

Little pr for the order if you want.