added initWithJSON method to use external JSON file for markup
cleaned up goToNext method, removed unnecessary code
refactored main js script a bit, mostly clean up