Fixes #1 of replacing last usages of jQuery.