Added install() to install JavaScript files.