adding script page with JS errors