Added Agent and Asset classes to javascript
Agent class returns metadata for comments and votes