a simple node and browser library loader