multisite and js aggregation support