http://oskarkrawczyk.github.com/heyoffline.js/