Javascript BitShares Stuff