fixed window.location.origin for support of older browsers ; added return key trigger on front page
hide overlay frame on load