Update largestPrimeFactor.js

completed LargestPrimeFactor JavaScript