Style and jquery fixes

Some smaller fixes of jquery and css which conflicted with joomla.