Move js into static