added loading bar and removed joint.js