Made demo more compatible with MSIE8