A small function for loading a js file before running code. It will only ever load the file once per page load even if called multiple times.