Added documentation variables and jQuery-library

* Added documentation variables to easier editing in future. Variables
currently fully working  only in Index- and Tutorial -page.
* Generally improved documentation's Javascript code
* Also added jQuery-library (license: http://jquery.org/license) to
simplier Javascript-coding