loading html page and notifying via javascript