Added jQuery plugin AMD pattern.