Wrapping init in document.ready. Firing a jquery event on tab change.