Fixed bug when checking whether ansilove is already loaded, and there are no script elements on the page.