changed javascript for bot to protected inside JFusion so we dont get problems with overwriting other's javascript function's