added javascript library syntax