fix(index): add bridge from js to coffee