fix issues with compiled JS and CSS, other small tweaks