Removes bad script enqueuing.