Chainability, combined vars, jQuery function

- Chainability added
- Combined vars
- Changed to new jQuery plugin function