clearfix ff bugfix, js indentation tidyup