Changing error.php?mode=js from text/plain to text/javascript 

Changing the js mimetype to text/javascript to avoid problems with some proxy configurations.