Attempt to fix map height in map.js

Try using $(document).width() instead of screen.width, since #map-canvas
height is not being set correctly when an orientationchange occurs.