Fix the 2 tsc compilation errors on hawtio-web