played around with jQuery and lo-dash