t8: Fixed javascript and content types