bug fixed on pmg.js

Extra parentesis deleted