added JSDocs style comments to the Treasure class