Delete javascript file implementation