bit of code cleanup

cleaned out some old javascript methods and replaced with jquery
equivalents for both apps.