Fixing earlier commit wherein I lowercased some JS calls