web-interface payment js