Fixed issues with ifs. Fixed Ajax nonsense. Switched to Foundation