added simple script to index.html page, fixed char errors