Minimum JavaScript test example with web browser