Change back to default value of 10 seconds of waiting before SIGKILL.
Fix bugs introduced by jQuery upgrade (commit 14f8e5).