Adding the autoshape js, draws autoshapes if that option is selected