Added Target and options

Added Target and options to window.open