created link between html and javascript file.