js src if debug
Remove deprecated message: has_cap