boilerplate html markup, and playing with js constructors & instance methods