generate for browsers