Parameter details cleanup - fixes #549

Adding fixed version of JSAP for BRJS. Added tests confirming fix.