A set of JS functions to help you build offline applications