alternates between html, js and css file