need to fix 'clear all' function in bitjar.js