Replace requestFrame function to og.webgl  namespace. Extract max frame delay to the globals.