fixed random init out of bounds
better handling of html content
fixed small things in demo
fixed timeout in safari 7, still with workaround
fixed readme merge