removed unnecessary closing div tag
replaced YUI dependency with jQuery code (no need for YUI anymore)
removed .ready() because code is at end of body where DOM elements are ready
updated jQuery to 1.10.2 to stay up to date with fixes