Magic number detection for javascript