index.template.html fixes

- add version query strings to resources
- fix path of some library files