Tweak background image uploading script on create post page, to wait for AJAX to successfully executing