added error handling for index
no script content
script load error
Merge pull request #8 from crashlytics/patch/html-error-handlers

added error handling for index