Fixes overlay js failing if loaded after jquery tools.