Structure /lib with js