Refactor frank.js
Merge branch 'master' of https://github.com/katedee/farmmarkit