Return raw data to js