What would be a good way to immerse myself into programming A.I.?
Hmmm, trying to get yourself to the technological singularity? Ultimately that would require s team of system engineers, EE's, and software people - all, presumably, ready to retire very soon.
Most of what's in AI can be understood by any programmer using a general purposes language. The HTML/Javascript combination can do a lot - but you probably want to get some C++ under your belt.
The classical AI experiments were all done decades ago - and with machines that can now be matched with Javascript. For example, write a Javascript Tic Tac Toe problem that keeps track of it's wins and loses so that its game improves based on experience. Javascript could handle that.
Of course, once you've figured out how to take over the world, you're going to want a more powerful language - perhaps C++ or perhaps you'll have an array of custom engines that you'll need to program from scratch. In that case, you'll need to learn about macro assemblers. The can be configured to program your new machine.
Have fun. If we don't hear from you again, we'll understand - it's the immersion.