Removing Hardcoded Language From JavaScript