diff --git a/src/iiiftilesource.js b/src/iiiftilesource.js
index 98cfa166..4c36914e 100644
--- a/src/iiiftilesource.js
+++ b/src/iiiftilesource.js
@@ -74,11 +74,8 @@ $.IIIFTileSource = function( options ){
                 if (!isNaN(cf) && cf > mf) { mf = cf; }
             }
         }
-        if ( mf < 0 ) {
-           options.maxLevel = Number(Math.ceil(Math.log(Math.max(this.width, this.height ), 2)));
-        } else { 
-           options.maxLevel = mf; 
-        }
+        if ( mf < 0 ) { options.maxLevel = Number(Math.ceil(Math.log(Math.max(this.width, this.height ), 2))); }
+        else { options.maxLevel = mf; }
     }   
      
     $.TileSource.apply( this, [ options ] );