Added some javascript constants for CCControl
Modified to better support more than one same log