Add splice method for html.data