A Web-based Framework for Adaptive Control of Industrial Processes