Batty Ipsum: Refactored JS file