adding pay button, updating JS to work with non-google server