adding reference to location of javascripts folder
adding examples to head.rst