Added function to load an external JSON file
Added functionality for testing things on a server and wrote a test for loadJSON