JavaScript Class corrections and dbscrips folder with database structure