Cleaned The Node js script