Various small fixes on the Additional jQuery Support. Fixes #343.