add semicolons to js func and data- to html