fix bb.localstorage error. add it to libs
fix ui references in marionette view