replaced javascript include with javascript loader component and fixed slider css issues