let data.ls usable in both client and server sides