web server changes

refactored the KSP pages into a single page without post data but using
ajax calls. added context menu and html5 input list to provide origin
destination pair.