reformat and add layout tweak for 'dokuwiki' template
move javascript to script.js and added comments
reduce the keys of language strings, changed some to js lang string
added some inline javascript from action and syntax component code
Refactored syntax component