Fixed JS error when Simple Image Gallery Pro is not installed. Fixed #9 .