Very basic script optimization to reduce size: Remove any leading white space and any lines starting with //.