@rafaelfranca But, "attaching to the dom" doesn't means separated javascript from the HTML. Inline JavaScript is also attached to the DOM, it's not?