Quick JS tidying