Bugfix with the JS type of Hanna Code when script tags were already present