         key = "#{@namespace}/e/#{id}"
         store_data = @data.store[id]
         datastr = JSON.stringify(store_data)
+        console.log "LSTORE:", key, datastr
         try
             localStorage.setItem key, datastr
         catch error
             return false
         ret_data = JSON.parse localStorage.getItem key
         if @jd.equals store_data, ret_data
-#            console.log "saved #{key} len: #{datastr.length}"
+            console.log "saved #{key} len: #{datastr.length}"
             return true
         else
-#            console.log "ERROR STORING ENTITY: store: #{JSON.stringify(store_data)}, retrieve: #{JSON.stringify(ret_data)}"
+            console.log "ERROR STORING ENTITY: store: #{JSON.stringify(store_data)}, retrieve: #{JSON.stringify(ret_data)}"
             return false
 
     _remove_entity: (id) =>

        if not @clientid? or @clientid.indexOf("sjs") != 0
            @clientid = "sjs-#{@s.bversion}-#{@uuid(5)}"
            try
                localStorage.setItem "#{@namespace}/clientid"
            catch error
                console.log "#{@name}: couldnt set clientid"


        if not @s.supports_html5_storage()
            return
        total = 0
        for i in [0..localStorage.length-1]        
            key = localStorage.key(i)
            datastr = localStorage.getItem( key )
            console.log "[#{key}]: #{datastr}"
            total = total + 1
        console.log "#{total} total"
