Cleaned up the JS definitions.