Prevent the same script from being loaded twice