Watchable Objects for javascript