Add support for 'content' and 'reply' when retrieving nodes from the Javascript API

'Content' matches all nodes; 'reply' is synonymous with 'comment'