Javascript link 

This connects models on the javascript side instead of the python side.

This uses the destroy handler triggered in #6438.