Compare site_id, device_id with parseInt