Cleanuped up/organized code, created javascript code to upload to the server, added stub javascript functions for saving and loading urls