Moved stylesheet out of html.
Fix code style.
Make width and height node count dependent.