added couple controllers. Repairing JS