created javascript file and removed from HTML