Probably should include a comment about why this technique is used instead of jQuery or other