got the options index working (pass two arguments to the path)
Fiddled with javascript to try and make a click counter