Shrinking Javascript