Closed #4975: integrate spine into -html5 v3.0 beta

Integrate spine into -html5 v3.0 beta