Moving the mind-map code to its own JavaScript file.
Removing the JavaScript mind-map code from the haml file.