Meta API for different JavaScript environment