put javascript in "strict mode" for compatability with chrome extensions