Remove whitespace. Reference window.ajaxurl instead of ajaxurl