No longer using Functional Programming, switched to traditional procedural with jQuery.