test some javascript base attribute