Removing ready function; uneccesary, does not address issue
Adding an extra step at the beginning as a temporary stop-gap