Fixed javascript error due to catalan translation