centralize all javascript fundamental methods, classes