Made changes to JS file based on Daniels comments