Options hash pattern implemented using jquery.