remove tree js and added postgresql