refactored javascript speed test to work with new schema and controller