Updated persdb.js

Fixed the equalHeight-function