Generate new browser code