fix for weird linux only issue that affects registered js libs with '.' in the id; must use alphanumeric and dash only