Some fixes for ReactJS template.