Makes old browser script external
Old browser script: bug fixes