Removes unused follow.js/html. Updates functions that required unwrapping of promises