split bones.js

nonspecific skeleton logic now in skeletons.js
bones.js is just for the editor