Fixed demo so it works if WebSQL is not available.