Fix bugs in libraries for QuickCRM web app