Added jquery.js in js folder, and load it in index.php.