layout javascript tag changes