make it work on non webkit browsers