cleaning up js a little more and removing old logs and comments