doc: use a pointer cursor only if js is active