Changed rep.js logic to clean it up and cleaned up rep.css.