Update javascript/main.js

commented out all old code to start new code. a little behind with the CRUD functionality but am working on it :(