Adds ajax to document write
Removes a couple of unused variables
Fixes fonts test to use the correct stub.
Fix to permit undefined urls (principally for team city integration)