updated format.js to use uglyfy rather then closure for ease of use for others