JS public fix on some themes