fix migration problem with open rate. update some js