update js for <= IE9