refactor js
remove backend db