updated index js changed "device" to "screen"