Removed the 'ajax functions' part of the file