Remove unnecessary locals from index.slim