AJAX calls unbind after last image

AJAX-calls are now stopped using jQuerys on and off, rather than setting
the reload-function to undefined, causing constant errors.