Turned function into jQuery plugin. Added dependencies. Namespaced styles.