remove unneeded scripts from default layout