some HTML changes for JS arrow