Bug 5917 Trying to fix the js parsing for translation