improved $.require