Script errors log with debugMode

Helps cypher out those __mysterious__ unloaded files that happen to contain javascript errors.