use javascript close() rather than clicking native buttons for safari
title() should always execute in default context for webviews
Merge pull request #367 from jlipps/master

mobile safari updates (better close(), be in spec for title())