Added comments to bst.js