minor fix for js error in the sonata admin base layout js