diff --git a/js/views_slideshow.js b/js/views_slideshow.js
index 17b62db..560c20c 100644
--- a/js/views_slideshow.js
+++ b/js/views_slideshow.js
@@ -260,18 +260,18 @@
             var mouseIn = function() {
               Drupal.viewsSlideshow.action({ "action": 'goToSlide', "slideshowID": uniqueID, "slideNum": index });
               Drupal.viewsSlideshow.action({ "action": 'pause', "slideshowID": uniqueID });
-            }
+            };
             
             var mouseOut = function() {
               Drupal.viewsSlideshow.action({ "action": 'play', "slideshowID": uniqueID });
-            }
+            };
           
             if (jQuery.fn.hoverIntent) {
               $(pagerItem).hoverIntent(mouseIn, mouseOut);
             }
             else {
               $(pagerItem).hover(mouseIn, mouseOut);
-            }
+            };
             
           });
         }
@@ -281,7 +281,7 @@
               Drupal.viewsSlideshow.action({ "action": 'goToSlide', "slideshowID": uniqueID, "slideNum": index });
             });
           });
-        }
+        };
       });
     }
   };
@@ -386,14 +386,14 @@
     var status = {
       'value': true,
       'text': ''
-    }
+    };
 
     // If an action isn't specified return false.
     if (typeof options.action == 'undefined' || options.action == '') {
       status.value = false;
       status.text =  Drupal.t('There was no action specified.');
       return error;
-    }
+    };
 
     // If we are using pause or play switch paused state accordingly.
     if (options.action == 'pause') {
@@ -401,7 +401,7 @@
       // If the calling method is forcing a pause then mark it as such.
       if (options.force) {
         Drupal.settings.viewsSlideshow[options.slideshowID].pausedForce = 1;
-      }
+      };
     }
     else if (options.action == 'play') {
       // If the slideshow isn't forced pause or we are forcing a play then play
@@ -415,8 +415,8 @@
         status.value = false;
         status.text += ' ' + Drupal.t('This slideshow is forced paused.');
         return status;
-      }
-    }
+      };
+    };
 
     // We use a switch statement here mainly just to limit the type of actions
     // that are available.
@@ -429,7 +429,7 @@
         if (typeof options.slideNum == 'undefined' || typeof options.slideNum !== 'number' || parseInt(options.slideNum) != (options.slideNum - 0)) {
           status.value = false;
           status.text = Drupal.t('An invalid integer was specified for slideNum.');
-        }
+        };
       case "pause":
       case "play":
       case "nextSlide":
@@ -445,22 +445,22 @@
           // function.
           for (var i=0; i < excludeMethods.length; i++) {
             excludeMethodsObj[excludeMethods[i]] = '';
-          }
-        }
+          };
+        };
 
         // Call every registered method and don't call excluded ones.
         for (i = 0; i < methods[options.action].length; i++) {
           if (Drupal[methods[options.action][i]] != undefined && typeof Drupal[methods[options.action][i]][options.action] == 'function' && !(methods[options.action][i] in excludeMethodsObj)) {
             Drupal[methods[options.action][i]][options.action](options);
-          }
-        }
+          };
+        };
         break;
 
       // If it gets here it's because it's an invalid action.
       default:
         status.value = false;
         status.text = Drupal.t('An invalid action "!action" was specified.', { "!action": options.action });
-    }
+    };
     return status;
   };
 })(jQuery);
