remove unnecessary draw variable in $.draw function