initial commit

adds js file