Invoke the tests from a separate test file instead of hardcoding them into the index.html

This doesn't work with phantom.js but it does work in the emulator.
Check in a clarification to the README that the javascript tests don't work with plugins