basic JavaScript experimentation