removing foreign js schema