replace native js by jquery lib, and trim some unstable functio off.