Javascript home made Utils for a noob