adding require back in & removed external jquery