Page displays in Firefox but not in Chrome and Safari

Hi,

I’m not sure if this is related to JS but I will ask it here. I have the following page with a popup that shows fine in Firefox but not in Chrome and Safari:

http://findabb.com/llr/url/test/

You can see its source code. Any idea what I am doing wrong?

UPDATE: I fixed it by using

$(document).ready(function() {

}