enable javascript in server config
update mocha
fix JWT / protocol 28 support
disable JWT tests on protocol versions prior to 28