grabbing a js stack