My Solution

These are the modifications for David Carlson's 12/16/2014 application.
I have provided a jQuery and native Javascript solution