Added JS hooks, new link to article, and fixed typos and examples