Optimizations to CCBReader - removes JS code and platform specific properties