on document ready stuff

now it works