use jquery to check for doc ready, draw on buttonon press