add javascript file for the index page
add javascript file for the index page