finally found the ie8 problem in javascript