Fixing problems with CSS and JS. Also fixing problems with byline div-encapsulation