Comply to FB's style
Remove "hacky" code now that window is defined inside the server-side Javascript VM