Javascript access to Axure prototype document model