override installer using document.location instead
Merge pull request #21 from esteinborn/master

override installer using document.location instead