Revert "JS: added missing semicolon; CSS: hacky solution to make sloth working"

This reverts commit 0457be964f7a3acf683677a06de1e1a07b11ae27.
added missed semicolon; hacky fix for the element triggering event if it's empty