messy js