Coffeescript handler for the "remove feed from folders" event retrieves the folder id in which the unsubscribed feed was by looking at a global variable, instead of inferring from attributes in the sidebar.

This makes a function redundant; it's been deleted.
Invoke global coffeescript functions instead of repeating their code in two places.