Fixed the JS reference error.