A simple Javascript game