Integrated Tictail API JS library and patched it to work standalone