else statement to expose it on window object?