little and quick javascript