Update JS for 1.4.0 release