Add scripts enqueueing functionality.