This is just some JavaScript utilities I find myself writing over and over again so I just decided to put them all into a place where I cam refer to all the time