Fixed bug in rubric.js