add collapse info to custom.js