Rename osdetect-api.js to api.js