Moved ace and jsonlint libraries to the root
Improved error handling
Added an example showing mode switching
Added libs to the zipped package
Docs secion added