Added index return to clicked menu item

Works in log but not returned to javascript yet
Additional cleanup by removing unused controller files