Javascript
jquery is the recommended JS framework. The included jquery package will be kept up to date with openmrs releases. Import the one you need with
<openmrs:htmlInclude file="/scripts/jquery/jquery.min.js" />
(but its already done in the header for you as of version 1.7+)