Here are some of my favourite programming references:

<ul>JavaScript</ul>
Learn on: <a href="http://jsfiddle.net/">http://jsfiddle.net/</a>
Learn about js closures. The big problem is that the Java engine is separate from the DOM engine (which is the representation of the webpage), so when references get broken things can be left hanging and you get memory leaks.
Search for Douglas Crockford on YouTube - interesting part is MONADS.

May be better learning jquery or angular.