JSFiddle: Better coding style