more js snips