Added AJAX to cookie form and added PHP cookie script