tpls moved out of the js files