add jquery-ui js file and css files, create function in webapi