fixed issue with loading jquery needed by local scripts