Js utils for vanila js