JS Application for DB design