Add facebook/twitter share patterns and fix js to open share windows.