Javascript: Dismiss IntelliSense when deleting quote

Includes test case