refactoring bf.js
bf.js refactoring
barryfest outputting file in agreed upon format