put root path on the top of the file to preserve / path
updated payment gems to use latest JS framework