fixes to js validation and naming