Now with working Java Script! but add <!DOCTYPE html> 

One thing to note, the program only works on HTML files with this line at the top <!DOCTYPE html>