Added some null checks in the quickAuth JS.
Merge remote-tracking branch 'origin/master'