Move jQuery plugin into separate file