I had to revert as it wouldnt update my location. Here is what the file looks like: Where would I insert that script to make it function properly?
<script type='text/javascript'>
ipb.vars['bingApiKey'] = "{$apiKey}";
ipb.vars['mmCacheFiles'] = "{$this->caches['mmFileCacheCount']['members']}";
</script>
<if test="$this->memberData['member_id'] && in_array('1', $perms)">
<ul class='topic_buttons'>
<if test="$perms['delete'] && $exists">
<li class='important'>
<a id='memberMapDelete' href='#' title='{$this->lang->words['buttonDeleteLocation']}'>{$this->lang->words['buttonDeleteLocation']}</a>
</li>
</if>
<if test="($perms['add'] && !$exists) || ($perms['edit'] && $exists)">
<li>
<a id='memberMapUpdate' href='#' title='<if test="!$exists">{$this->lang->words['buttonAddLocation']}<else />{$this->lang->words['buttonUpdateLocation']}</if>'>
<if test="!$exists">{$this->lang->words['buttonAddLocation']}<else />{$this->lang->words['buttonUpdateLocation']}</if>
</a>
</li>
</if>
</ul>
</if>
<h1 class="ipsType_pagetitle">{IPSLib::getAppTitle('membermap')}</h1>
<if test="$this->memberData['member_id'] && in_array('1', $perms)">
<form id='memberMapUpdateInput' class='clear' style='display: none;'>
<h3 class='maintitle'><if test="!$exists">{$this->lang->words['buttonAddLocation']}<else />{$this->lang->words['buttonUpdateLocation']}</if></h3>
<div class='ipsBox ipsPad'>
<div class='ipsBox_container'>
<input type='text' id='locationAddress' class='ipsPad' placeholder='{$this->lang->words['addressInputPlaceholder']}'>
<span class='right'>
<a href='#' id='currentLocation' data-tooltip='{$this->lang->words['tooltipCurrentLocation']}'>
<img src='{$this->settings['img_url']}/membermap/currentLocation.png'>
</a>
<input type='submit' value='{$this->lang->words['buttonSave']}'>
</span>
</div>
</div>
</form>
</if>
<div id='memberMapCanvasWrapper' class='ipsBox ipsPad'>
<div id='memberMapCanvas' class='ipsBox_container'></div>
</div>