Fixed jquery and main style refs.