Moved jquery to top of pipeline