Script tags get misparsed, fixed with console.log call