Updates regulate.js