Static Memory Javascript with Object Pools