$cgi->start_html( ... -script => {-language => 'javascript', -src => '../javascript/script.js'}, -onLoad => 'init()', ),