Refactor more/less_data in controllers.js