Extra checks to stop crashes
Remove dependancy on jquery
Sort out bad code
Make changes suggested by SidekickJS
Tidy up styled view a little
Add demo page for testing