Add ajax to front page submission