Mysql Json Array Length Jquery Css Width Auto