fix some bugs

add the support of ie and firefox