on_error only called if defined and is a function
disabling ajax cache - fixes issues with IE