Updated signature decryption to handle new javascript (gh-43)