Alternatively accept `ALL_CAPS` for JS constants; fixes #1