Global exporting fix
Added demo page init