add jquery and drawing function select widget