small changes to strip payment js and inventory controller