Using batman.js for offline apps
blog.tomkr.org