working to get JS.JS to work with the front end.