switched to http for ajax