added version to html
added version check