re-introduce missing code in data-controllers.js