JS code moved out of HTML into the separate files
JS is loaded from file