BUGFIX Add tail '/'

Add tail '/' to ensure generated id of javascript isn’t leaded by ‘/‘.