Fixes stylus errors, cleans out JS