PROTOTYPE JS: Replace text by class