Ian's notebook program in php and javascript and as web services