You can still add custom HTML/JS/CSS, but in a more structured way: Layout Editor Evolution in v4
Then based on feedback we have reintroduced a UI in the CMS for doing it: Key improvements for 4.1
CMS 4.1.0-rc1 is available to try with the above included.