fixed mid banner js issue