add Script dev guide
add js tag to some code
Merge pull request #672 from maraoz/script/docs

add Script dev guide