fix wordpress content styles, simplify gallery styles, output jquery to footer