You can use ```height(mapHeight)``` instead. See http://api.jquery.com/height/#height2