making jquery npm compatable