upgrade defs.js to 0.3.0, tag 0.2.0