Refactored components.jq.