Move PathToJsonDB to a JS variable in the Global Scope