add option to drop ping from wan side and of course a little cosmetics

I know about uglifyjs but since I modified the js file, I do a little cosmetics and a correct a typo.