snake UI with javascript and jquery