Kind of remade with jQuery.