modification for node-webkit version
add min width size and beautification