fix for jsbot PR issues.