Changed Javascript capitalization