Add  removeQuery test and standardization

Add  removeQuery test in index.html.
standardization:
I have modified my code to be complied with your standards
e.g. Use 4 spaces to replace tab spacing.