updated site.js to remove code that was causing an error