enabled js when model is destroyed
Merge branch 'master' into mobile