Revert "removed dependency from jquery in std.keyboard.js"

- Current setup makes unit testing via jQuery easier. Reverting to previous behaviour.

This reverts commit 17142d2cc6afa52c534e63a4015a539022753af2.