fixed a few js errors in BFJoustBot_script