Avoid dangerous properties names like 'float'

While I was testing Closure Compiler, it was complaining about it.
Taking into account different quirks in browsers, change these names
to some safer variant.