Fix issue when switching branch when BLOB is shown

Fix blob-switching for AJAX-Requests

Reorder