fix javascript tests. add CustomFields.js