Resolved issues with rating form throwing a length undefined m