Fixes typo that prevented the stop and adds check for JVB_HOST.
Merge pull request #2 from turint/master

Fixes typo that prevented the stop and adds check for JVB_HOST.