Added javascript context created event