Separating javascripts from html.