javascript and jQuery samples