Fixed bug in license_control.js