Add switch for js container update detection

This is an unproved feature, that's causing problems. Let's delete it?