run js opts for safe heap