Fix #347

- Update to ES 1.4.0, attachment mapper 2.4.1 and javascript 2.4.1