Remove jquery proxy and try to convert string to function via window