focus functions tested, but not working with .ready functions