This is kind of odd because you'd definitely not want to put the publisher key into the client code. Which means that this aspect of the fauna-js library is only for use in an administration console or something.  As I started reading this I expected it to be a client connection library, but now i see that it's also got administrative features rolled into it as well.