Move the init function into the HTML file