Create a html element if it does not exists, to prevent out-of-bound error