Fix front end render, add JS in case the URI is not admin so the field work in front end forms