ext.guidedtour: cleaned up code, removed jshint warnings

just had a look at it - made some minor changes