initial migration to jquery based
move map download to jquery