Had '$' and '$.fn' reversed in conditional that checked for whether the plugin was static or not.