simple jsx utility manually merged
tidying up