Add option for adding global JavaScript files