Adding google closure snippets and enabling correct modes.