It doesn't cost any money to make IDM.

You can make a kick sound just by sweeping a triangle wave a little bit.

For the snare-wire sound, just add a little release to white noise and layer it with a triangle-wave sweep.

For the beats and stuff, I think you can just record a sine wave and glitch it out.

JavaScript alone is enough, and it's also possible in C.