Revised ws-compile stmt handler to use JHM name constructs correctly.