Edit supermemo, js and review method