minor change to bugle-js file structure