initial addition of files
updating js file with correct curly brackets