Javscript and CSS for a very simple size input