Adding js/ajax to homepage