common javascript library