Add example code to injectJs docs

I have added a code example to the docs for injectJs, where previously there was a "// @TODO: Finish page.injectJs example."

I have seen confusion online on how to use injectJs and the differences between injectJs and includeJs. Hopefully adding this example to the docs page will help clear the confusion.