Did a bit of JSHinting