move js calls