Adding mator.js prototype