update nanobar.js