Using jQuery document ready. Strange: javascript test browser refresh: fail, pass, fail, pass.