Fixed PathTooLongException while cleaning up.Cleaned up js.

Delete was failing and applied patch proposed from http://blogs.msdn.com/b/bclteam/archive/2007/03/26/long-paths-in-net-part-2-of-3-long-path-workarounds-kim-hamilton.aspx
An alternative would have been http://gallery.technet.microsoft.com/DelimonWin32IO-Library-V40-7ff6b16c but requires install...