Begin removing jQuery dependencies.

WIP