changed to jQuery document ready from body onload