Organize JS code. Dont log analytics for admin