revised js