Upgrade to CoffeeScript 1.6
Close database on versionchange