minor bugfixes + hardcoded HTML in JavaScript moved to LESS