The missing Javascript smart persistant layer