Initial JSQuestLoader implementation. TODO: add stuff specific to JS to make it easier