updated demo, fixed older IE compatibility issue, fixed doctype for jasmine SpecRunner.html