removing map and js