more JavaScript references support