An elegant layer system for ImpactJS