added exception handling
added a JS library which might be worth to try
remove pocoo