Be more browser specific with Javascript generation