Add JSDoc documentation & build badges