Update docs to reflect being able to pass an element instead of ID. Closes #844
syntax highlighting and some clarity
Merge pull request #999 from mmcc/document-passing-element

Update docs to reflect being able to pass an element instead of ID.