Edited JS
Minor edits