html-native -> html-shared
Clean up resource handling