edits

Working on decreasing redundancy in restless.js