restore script for popular terms tab. fixes #28