Javascript Replace Text In String Javascript Program