script registered early, enqueued later