JS function, disable fields if no coral on load