add dom html5 javascript mobile