fix missing javascript block end tag.