Drawing using jQuery