Switches mimetype with content_type keyword for the HttpResponse constructor.
Updates deprecated .live with .on function.