Updated jquery transfer type to support running from file