How to remove the MDAS rule in my JS calculator?

How to remove the MDAS rule in my JS calculator?
0.0 0

#1

Good Day Campers :fire:

im building my Javascript calculator and i want to ask what is the right approach how to disable the MDAS rule 2x2 / 2 should be equal to 2, my calculators output is 3 :frowning:

and also follow up question, how can i stop the program to avoid inputting 2 consecutive operator and a dot. sign?

here is my codepen ( use AC for clearing all the inputs, EC is not yet functional)
http://codepen.io/jrdn129/pen/wgVLzW