Api folder

js not json
Fix relative paths