Adding JavaScript StringCalculator