Remove forgotten hack and eliminate js_alloc
Eliminate js_alloc