Add new javascript example for watching a property