Calculate file sizes for Javascript files.