Fixed insecure script errors and options being undefined

Chrome and Firefox send insecure content warnings when viewing from https, and options was throwing errors when creating the page so I assigned it a label