some useless js removed