Added Ajax model to reduce replication