using jquery to resize map