Fixed issue #08746: CPDB Attribute Type Dropdown is... broken
Dev: Clean up JavaScript