deleting some unused models. fixed some js bugs. deleted some commented out code.