Bug #12242: Fix image unblocking javascript in basic view