Removed onerror function.