switched to js data instead of json