FireFox Edit Position
Clean up the FF-fix pull request

Make the code more legible, clarifies what is being changed
when FF is detected, fix whitespace and indentation issues