add common javascript library