fixed the unicode character issue in javascript resources