convert pack_view.js to coffeescript