Compressing JS and changing HTML links