Undo entity.js changes