removed onerror.js from examples not on localhost