fixes missing comma in main js and removes old controller dependencies