jQuery independence

Work in progress, feel free to fork and PR. :smile: