Fix loading of js files in old install
Fix link for db download