details for plain.js