Update jpx.js

Fixed CPRL implementation and added exception for wrong PCRL implementation.