Added html code and javascript.