added document/ready. now enable/disable works