change themplate js to ls