That is not how you load extra javascript code from that file.
You can add this line at the bottom of that file:
$document->addScript( 'path_to_your_js_file/replocatorwv.js' );
Just replace "path_to_your_js_file" with the actual path.
More information about this here:
docs.joomla.org/Adding_JavaScript
If you need more help then that I suggest buying an aiContactSafe support subscription.