added animation fns
removed old junk in button ns
removed junk from test.html
cleaned html ns, added animation fns
complete rewrite of button ns