updated bag.js to 0.1.2
updated code for mincer 1.0.0