svg => var svg
Get rid of layout.html
Refactor, refactor.