Check for window.location undefined on auto config setup
Check for window.location undefined on auto config setup

gitana/gitana-javascript-driver,gitana/gitana-javascript-driver,gitana/gitana-javascript-driver