update ui for weights creatin: spinning button. update server code for weights creation
add ajax check for weights name
update ui and weights