adding database and removed js file