Fix bug with additional css/js in chat template