make js oop
complete js rewrite
always return array instead of null
update version and changelog
PMMA-39 new refund workflow use the internal payment flows
PMMA-40 fix token error problem
fix js namespace issue
update changelog