add javascript textobject for functions
improve javascript support for expand text region