Fix trigger dirty + fix youtube re-use

- ctrl-v not triggering 'dirty' input's
- reloading already loaded CSS or JS files did't re-trigger the JS, this
caused Youtube widgets not to work after being reloaded before.