Feature detect deprecated methods and connect proc to destination due to webkit bug