De-crufting the JS