test
adding pixel ratio check in javascript