Fixed bug in Star script, started migrating AJAX calls functions to the API wrapper, slightly changed api tester