Updating snippets to not use file:// protocol, and adding a bunch of tests for actual js loading