A simple Javascript experiment