Playing with the cache, fixing add_widget in the js