javascript interpreter fixed for Number types