changed canvas creation to use jquery to possibly fix mobile browsers