Changed how jquery is loaded for mercury layout