Fix for bug #8 - [concat] throws exception in js