fix a big bug!!!

自动删除viewmap里的值
fixed group by bug
add the js to local