Adding twitter gem in place of javascript ajax request.