replace JS code generated by desugarer for typeclasses with PS code (2)
Merge remote-tracking branch 'osa1/desugaringpatch'