Added a bunch of comments to the JS file so I know how to pull this off int he future