document ready moved to scripts