include new js in files loaded for unit testing
remove typo
fix and flesh out detect cross origin tests
extract parsing out and test on its own