Refactor and cleanup widget code, add notes, add second set of test JSON image src data, add two galleries to test index.html file to showcase widget's two different modes