removing document ready. script is on footer