Meter js test code