Page manager for human javascript applications