Bit of JS work for EMP-220