update international function & fix ie7/8 js code