Quick and dirty fix that worked for me:
$('[data-role=content]')
.height(
$(window).height() -
(5 + $('[data-role=header]').last().height()
+ $('[data-role=footer]').last().height())
);
// tell google to resize the map
google.maps.event.trigger(map, 'resize');