convert bootstrap js to coffee