fixed some NPEs when using hawtio as a static site