only optimize referenced js files, use node to optimize referenced files