Update rootScope.js