fixed syntax error with function a$.extend(..)