Sample code to learn Javascript and jQuery