JavaScript – Getting a ID with wite spaces