added npm scripts and updated jquery require