applied underscore to panes.js