clean some function, only parser left

delete encode&decode function.
add ie support(include ie7, ie8)