Moved css outside demo.html
Refactored jQuery DOM building method