Rewriting in a jQuery plugin, initial raw code push of rewrite.