local dropbox js, save model for spreg