Fine-tuning authorization plug-in. Started updating Javascript/jQuery to
be compliant with version 10