Added all JS functions for displaying maps on button click.