Removed all AJAX and unnecessary stuff