A simple coffeescript code to show and hide hierarchies.