Enqueue and register scripts the right way.