first attempt at controlling book playing and caching from browser