Fix CSRF token error on ajax post and remove duplicate jquery tags causing error with foundation modal reveal