Setup index view to use new javascript file