Convert controllers/header_controller to JS