finished javascript interpreter