Fix incorrect javascript in setting up map

The javascript that should set up the map area and then hide it was broken because search.val() was being called instead of search.value.  I'm not sure what caused it to break.