final - js works