(function ($) {
  $(function () {

    /**
     * Test 1
     */
    $('#octagon').tilesSlider();

    /**
     * Test 2
     */
    $('#octagon2').tilesSlider({
      delay: 700,
      effect: 'chaotic'
    });

  });
})(jQuery);