Use WinJS functionality to resize image instead of File plugin functionality