Javascript library: bringing objects to life