[tools 1/4] testbot/cgi: Add support for importing JavaScript files.