rewrite_bone.js: Added code used to update bone.js