Javascript: get width by pencent / jQuery