editing demo added
postion text
relative path
change codeblock style
separate global variables and ondomready function