Minor refactor of index.html
Implement funtion to select surrounding tokens
Add nextToken and PrevToken directives