Search requires javascript to work
native okapi_alloc(n)
number of blocks
Allocates n blocks of 4 bytes
the address of the allocation (ptr)