converted tabs plugin to coffeescript