add script to pack js files