added template.js to docs and included example usage, updated instagram example to use template engine