Javascript tag implement