corrected typo (retrained => retained)
Merge pull request #677 from wilmoore/js-bst-typo

corrected typo (retrained => retained)