remove random-ass function
idk what javascript is
moar better