replaced make with jquery method