change the order of the strings in js file