Moving PersonaPGP functionality to its own js file