changed name to xstatic since static is a js reserved keyword