Automatic icon resizing for Cordova