Please include the following line in page.xml page to include js file from the your theme folder
The path will be www.yourSiteName.com/skin/frontend/mind/extreme/js/filename.js
AJAX is not a new programming language, but a new way to use existing standards.
AJAX is the art of exchanging data with a server, and updating parts of a web page – without reloading the whole page.
Beginners' Guide , PHP Programmer , Zend Certified Engineer , Magento Certified Developer