Added error classes into reference CSS in prototype