Issue62v2

The test suite including the new 'it' clause works with grunt test and on local file:/// run. Still needs to be run on a local web server, but I would like to present the newly added logic in its current state to weed out any glaring errors or unnecessary inclusions upon review.