cleaned up js test