Update parser.js

Re addedd minx and minY.
I belive the solution is the general matrix but for now i'm not able