removed uncessary function in js file
remove db from .gitignore
modify view