bugfixes and increased browser support