adding html and javascript