change views from js -> jsx