add mobile/h5 support