Move data source from script file to html inline script, normalize CSS