javascript cleaning & map fullscreen fix in home