updated type and eliminated jquery link