remove redundant webkit flags and small cleanup