Update license headers in JavaScript files
Update license info in license.php
Refactor build_js_response function

Rename it to build_widget_response and move to libs/common/response.php
Refactor JavaScript invitation and tracking code
Use get_app_location func in cron_get_uri func
Fix ability to use plugin options at client side