Fixed bug that did not get rid of the 'loading' gif when an error occured.
Added 'key' param.
Compiled js.
Updated readme and removed the example.html file.