Modelling Adaptive Web Applications