Updated production Javascript creation. File being updated now deleted then rewritten.