A simple script loader in javascript with the ability to store the script in localStorage