added initial configuration page and javascript