Improve HTML codes

Improve HTML codes for support footScript and fix some w3 bugs