bug fix of translation and test on cross browser