code cleanups
working on opera mobile fix