Try Catch implemented

Passing back a String to JS does not work ;(