inline javascript with template 5