call some js function from beard.js (finished)